package models

type UserDept struct {
	UserId string `json:"userId" gorm:"primaryKey;type:varchar(50);comment:用户ID"`
	DeptId string `json:"deptId" gorm:"primaryKey;type:varchar(50);comment:机构ID"`
	CRUD   `json:"-" gorm:"-"`
}

func (UserDept) TableName() string {
	return "sys_user_dept_r"
}
